export const defaultMixins = {
  data() {
    return {}
  },
  methods: {
    formatter() {
      let sysType = this.$route.meta.fatherType || ''
      // let type = this.$route.meta.type || ''

      switch (sysType) {
        case '0':
          return '工程'
          break
        case '1':
          return '财税'
          break
        case '2':
          return '法律'
          break
      }
    },
    formatterTwo() {
      let type = this.$route.meta.type || ''
      switch (type) {
        case '0':
          return '业绩'
          break
        case '1':
          return '荣誉'
          break
        case '2':
          return '专家'
          break
      }
    }
  }
}
